Silk Mobile

Table of Contents (Homepage)

Executing Tests In MSTest From Visual Studio

Example: Integrate Silk Mobile into C# MSTest

Step 1: In C#, create a C# test project

images/download/attachments/3310210/image2049.jpg

Step 2: In the project select 'Add Reference…'

images/download/attachments/3310210/image2050.jpg

Step 3: Select 'Browse' and navigate to the clients\C# directory in the Silk Mobile installation folder ( C:\Program Files\Silk\SilkMobile). Select the 2 dlls and approve it.

images/download/attachments/3310210/image2051.jpg

Step 4: In Silk Mobile, go to the "Code" tab and select from the drop-down menu the C# MSTest. Copy the code that appears.

images/download/attachments/3310210/image984.gif

Step 5: then paste it into a project test. You can now run the test by right clicking on the test and selecting 'Run Tests'

images/download/attachments/3310210/image2052.jpg